package com.itheima.service;

import com.itheima.pojo.User;

import java.util.List;

public interface UserService {

    List<User> findAll();

    boolean add(User user);

    boolean deleteById(Integer id);

    void updateUser(User user);

    List<User> queryByPage(Integer current, Integer size, String condition);
}
